package com.txzt.gaea.business.sequence.domain.model;

import lombok.Data;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.Table;

@Data
@Table(name="tb_sequence")
public class Sequence {

    /*序列id*/
    @AutoID
    private Long id;
    /*关联名*/
    private String bizName;
    /*序列名*/
    private String name;
    /*序列值*/
    private Integer sequence;

    public Sequence() {

    }

    public Sequence(String bizName, String name, Integer sequence) {
        this.bizName = bizName;
        this.name = name;
        this.sequence = sequence;
    }
}
